<assign name="page_title" value="$school.school_name" />
<include file="Public:header" />
<div id="main">
    <div id="main-header" class="grid page">
        <h2>正在发生什么..</h2>
        <h1>{{$school.school_name}}</h1>
    </div>
    <div id="sub-main-header"></div>

    <div class="posts" id="posts">
    </div>
    <div class="page">
        <a id="facebook_connect" class="btn btn_dblue btn_large input_full ellipsis" href="__ROOT__/{{$school.school_abbr}}"><span>查看更多{{$school.school_name}}的主题..</span></a>
    </div>
</div>
<include file="Public:_tpl_tweets" />
<script>
    Do("AGL.tweets",function(){
        AGL.tweets.list({
            element:"#posts",
            id: {{$tid}},
            school_id:AGL.school.info.id,
            climit:0,
            limit:1,
            callback: function(){
                if(location.hash.length > 0){
                    $("#" + location.hash.substring(1)).scrolling({ timer: 500, offset: -150 }, function(){
                        AGL.common.errorAnimation(this);
                    });
                }
            }
        });
    });
</script>
<include file="Public:footer" />